package com.theBlind.orm;

import java.io.Closeable;
import java.util.List;

/**
 * @program: orm
 * @description:
 * @author: TheBlind
 * @create: 2021-04-22 14:13
 **/
public interface SqlSession extends Closeable {

    <T> T selectOne(String v1);

    <T> T selectOne(String v1,Object v2);

    <E> List<E> selectList(String v1);

    <E> List<E> selectList(String v1,Object v2);
}
